package com.hirain.command;

/**
 * Created by caicf on 2016/8/27.
 */
public class PhoneCallCommand implements Command {
    private Phone phone;

    public PhoneCallCommand(Phone phone) {
        this.phone = phone;
    }

    @Override
    public void undo() {

    }

    @Override
    public void execute() {
        phone.call();
    }
}
